package libsys.general;

import libsys.general.LIBSYSSystem;
import libsys.listeners.MainMenuBarListener;
import libsys.listeners.NavigationTreeListener;
import libsys.listeners.SettingsFontSizeSpinnerListener;
import libsys.listeners.SettingsFontStyleItemsListener;
import libsys.listeners.SettingsTreeListener;
import libsys.listeners.WindowHideListener;

public class Listeners
{
		LIBSYSSystem LibrarySystem;
		
		TreeListeners treeListeners;
		ButtonListeners buttonListeners;
		MainMenuBarListener mainMenuBarListener;
		
		WindowHideListener SettingsWindowHideListener;
		WindowHideListener CalculatorWindowHideListener;
		
		SettingsFontStyleItemsListener FontItemsListener;
		
		SettingsFontSizeSpinnerListener FontSpinnerListener;
		
		public Listeners(LIBSYSSystem LibrarySystem)
		{
				this.LibrarySystem = LibrarySystem;
				
				treeListeners = new TreeListeners(LibrarySystem);
				buttonListeners = new ButtonListeners(LibrarySystem);
				mainMenuBarListener = new MainMenuBarListener(LibrarySystem);
				
				CalculatorWindowHideListener = new WindowHideListener(LibrarySystem, LibrarySystem.FrameList.CalculatorFrame);
				SettingsWindowHideListener = new WindowHideListener(LibrarySystem, LibrarySystem.FrameList.SettingsFrame);
				
				FontItemsListener = new SettingsFontStyleItemsListener(LibrarySystem);
				FontSpinnerListener = new SettingsFontSizeSpinnerListener(LibrarySystem);
		}	
}